/**
 * 向量类型
 */
export default class Vector{
    /**
     * @param length {Number}
     * @param EleType {NewableFunction}
     * @param value
     */
    constructor(length=3, EleType=Number, initValue=0) {
        this.eles = []
        this.length = length
        this.eleType = EleType
        for (let i = 0; i < length; i++) {
            this.eles.push(initValue)
        }
    }
}